package com.chance.cc.crawler.prod.command.node.qimai;

import com.chance.cc.crawler.development.command.node.CrawlerNodeCommand;
import com.chance.cc.crawler.prod.command.job.domain.news.qimai.QimaiPublishCrawlerSchedulerJob;

/**
 * @ClassName song
 * @Description TODO
 * @Author ding
 * @Date 2021/9/9 14:24
 * @Version 1.0
 **/
public class QimaiCrawlerNodeOperator {

    public static void main(String[] args) {
        CrawlerNodeCommand crawlerNodeCommand = new CrawlerNodeCommand("192.168.1.217",9505);

        crawlerNodeCommand.nodeStatus();

        crawlerNodeCommand.killCrawler(QimaiPublishCrawlerSchedulerJob.appStore());//苹果
        //crawlerNodeCommand.killCrawler(QimaiPublishCrawlerSchedulerJob.oppo());//oppo
       // crawlerNodeCommand.killCrawler(QimaiPublishCrawlerSchedulerJob.huawei());//华为
        //crawlerNodeCommand.killCrawler(QimaiPublishCrawlerSchedulerJob.mi());//小米
        //crawlerNodeCommand.killCrawler(QimaiPublishCrawlerSchedulerJob.vivo());//vivo
        crawlerNodeCommand.nodeStatus();

    }
}
